package com.sairobo.admin.modules.srblive.service;

import java.util.Map;

import com.sairobo.base.common.entity.Page;
import com.sairobo.base.common.entity.R;
import com.sairobo.admin.modules.srblive.entity.SrbliveLiveroomparenttype;

/**
 * 直播间父类型
 *
 * @author admin
 * @email sairobo
 * @url www.sairobo.com
 * @date 2018年1月11日 下午7:52:34
 */
public interface SrbliveLiveroomparenttypeService {

	Page<SrbliveLiveroomparenttype> listSrbliveLiveroomparenttype(Map<String, Object> params);
	
	R saveSrbliveLiveroomparenttype(SrbliveLiveroomparenttype srbliveLiveroomparenttype);
	
	R getSrbliveLiveroomparenttypeById(Long id);
	
	R updateSrbliveLiveroomparenttype(SrbliveLiveroomparenttype srbliveLiveroomparenttype);
	
	R batchRemove(Long[] id);

    /**
     * 获取父类型
     * @param pid
     * @return
     */
	R getPtypes(Long pid);

}
